<template>
  <div id="home">
    <div class="background">
      <div id="leftRectangle"></div>
    </div>
    <div class="container">
      <div class="inlineContainer">
        <div class="nav">
          <LeftNav></LeftNav>
        </div>
        <div class="body">
          <router-view></router-view>
        </div>
      </div>
      <Footing></Footing>
    </div>
  </div>
</template>

<script>
import Footing from "../../components/Footing";
import LeftNav from "../../components/LeftNav";
export default {
  name: "Home",
  components: {LeftNav, Footing}
}
</script>

<style scoped>
 .container {
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   overflow-x: hidden;
   overflow-y: hidden;
 }
 .inlineContainer {
   border-radius: 60px;
   overflow: hidden;
   margin-top: 20px;
   width: 90%;
   display: flex;
   background-color: rgb(238,241,248);
 }
 .nav {
   width: 15%;
   height: 100%;
 }
 .body {
   width: 85%;
   height: 100%;
 }
 .background {
   width: 100%;
   height: 100%;
   background: rgb(227,234,255);
   position: fixed;
   z-index: -1;
 }
 .background #leftRectangle {
   width: 150vw;
   height: 100vw;
   background-color: rgb(210, 215, 224);
   transform: rotate(75deg) translate(0, -35vw);
 }
</style>
